package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.LtCatalogDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LtCatalogDetailMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LtCatalogDetail record);

    LtCatalogDetail selectByPrimaryKey(Long id);

    List<LtCatalogDetail> selectAll();

    int updateByPrimaryKey(LtCatalogDetail record);

    LtCatalogDetail getIdByCatalogBigId(Long cbgId);

    void updateCbId(@Param("cbid") Long cbid, @Param("id") Long id);

    int getCatalogDetailBycbId(Long cbTwoId);
}